package com.moleq.models;


public class PosTrns {
//	CREATE TABLE t_pos_trns
//	(pt_no integer NOT NULL,
//	pt_date varchar(8) NOT NULL,
//	pt_store_no integer NOT NULL,
//	pt_station numeric(3,0) NOT NULL,
//	pt_crt_date varchar(8) NULL,
//	pt_crt_time varchar(6) NULL,
//	pt_done_date varchar(8) NULL,
//	pt_done_time varchar(6) NULL,
//	pt_status varchar(1) NOT NULL, --P-Pending Y-Completed X-Canceled R-Refund
//	pt_user_id varchar(20) NOT NULL,
//	pt_total numeric(10,3) NOT NULL,
//	pt_tax numeric(10,3) NOT NULL,
//	pt_tax_exem numeric(10,3) DEFAULT 0 NOT NULL,
//	pt_cmr_birthday varchar(8) NULL,
//	PRIMARY KEY (pt_no,pt_date));
	
	private int pt_no; 
	private String pt_date; 
	private int pt_store_no; 
	private int pt_station; 
	private String pt_crt_date; 
	private String pt_crt_time;
	private String pt_done_date; 
	private String pt_done_time; 
	private String pt_status; 
	private String pt_user_id; 
	private double pt_total; 
	private double pt_tax; 
	private double pt_tax_exem;
	private String pt_cmr_birthday;
	private String pt_type;
	private String pt_manager_id;
	private boolean pt_approval;
	private String pt_rounding_fl = "";
	private double pt_rounding;

	public PosTrns(){}
	public PosTrns(int _pt_no,String _pt_date,int _pt_store_no,int _pt_station,String _pt_crt_date,
					String _pt_crt_time,String _pt_done_date,String _pt_done_time,String _pt_status,
					String _pt_user_id,double _pt_total,double _pt_tax,double _pt_tax_exem,String _pt_cmr_birthday,
					String _pt_type,String pt_manager_id,boolean pt_approval,String pt_rounding_fl,double pt_rounding){
		this.pt_no = _pt_no;
		this.pt_date = _pt_date;
		this.pt_store_no = _pt_store_no;
		this.pt_station = _pt_station;
		this.pt_crt_date = _pt_crt_date;
		this.pt_crt_time =_pt_crt_time;
		this.pt_done_date = _pt_done_date;
		this.pt_done_time = _pt_done_time;
		this.pt_status = _pt_status;
		this.pt_user_id = _pt_user_id;
		this.pt_total = _pt_total;
		this.pt_tax = _pt_tax;
		this.pt_tax_exem = _pt_tax_exem;
		this.pt_cmr_birthday = _pt_cmr_birthday;
		this.pt_type = _pt_type;
		this.pt_manager_id = pt_manager_id;
		this.pt_approval = pt_approval;
		this.pt_rounding_fl = pt_rounding_fl;
		this.pt_rounding = pt_rounding;
	}
	
	public String getPt_rounding_fl() {
		return pt_rounding_fl;
	}
	public void setPt_rounding_fl(String pt_rounding_fl) {
		this.pt_rounding_fl = pt_rounding_fl;
	}
	public double getPt_rounding() {
		return pt_rounding;
	}
	public void setPt_rounding(double pt_rounding) {
		this.pt_rounding = pt_rounding;
	}
	public boolean getPt_approval() {
		return pt_approval;
	}
	public void setPt_approval(boolean pt_approval) {
		this.pt_approval = pt_approval;
	}
	public String getPt_type() {
		return pt_type;
	}
	public void setPt_type(String pt_type) {
		this.pt_type = pt_type;
	}
	public String getPt_crt_time() {
		return pt_crt_time;
	}
	public void setPt_crt_time(String pt_crt_time) {
		this.pt_crt_time = pt_crt_time;
	}
	public int getPt_no() {
		return pt_no;
	}
	public void setPt_no(int pt_no) {
		this.pt_no = pt_no;
	}
	public String getPt_date() {
		return pt_date;
	}
	public void setPt_date(String pt_date) {
		this.pt_date = pt_date;
	}
	public int getPt_store_no() {
		return pt_store_no;
	}
	public void setPt_store_no(int pt_store_no) {
		this.pt_store_no = pt_store_no;
	}
	public int getPt_station() {
		return pt_station;
	}
	public void setPt_station(int pt_station) {
		this.pt_station = pt_station;
	}
	public String getPt_crt_date() {
		return pt_crt_date;
	}
	public void setPt_crt_date(String pt_crt_date) {
		this.pt_crt_date = pt_crt_date;
	}
	public String getPt_done_date() {
		return pt_done_date;
	}
	public void setPt_done_date(String pt_done_date) {
		this.pt_done_date = pt_done_date;
	}
	public String getPt_done_time() {
		return pt_done_time;
	}
	public void setPt_done_time(String pt_done_time) {
		this.pt_done_time = pt_done_time;
	}
	public String getPt_status() {
		return pt_status;
	}
	public void setPt_status(String pt_status) {
		this.pt_status = pt_status;
	}
	public String getPt_user_id() {
		return pt_user_id;
	}
	public void setPt_user_id(String pt_user_id) {
		this.pt_user_id = pt_user_id;
	}
	public double getPt_total() {
		return pt_total;
	}
	public void setPt_total(double pt_total) {
		this.pt_total = pt_total;
	}
	public double getPt_tax() {
		return pt_tax;
	}
	public void setPt_tax(double pt_tax) {
		this.pt_tax = pt_tax;
	}
	public double getPt_tax_exem() {
		return pt_tax_exem;
	}
	public void setPt_tax_exem(double pt_tax_exem) {
		this.pt_tax_exem = pt_tax_exem;
	}
	public String getPt_cmr_birthday() {
		return pt_cmr_birthday;
	}
	public void setPt_cmr_birthday(String pt_cmr_birthday) {
		this.pt_cmr_birthday = pt_cmr_birthday;
	}
	public String getPt_manager_id() {
		return pt_manager_id;
	}
	public void setPt_manager_id(String pt_manager_id) {
		this.pt_manager_id = pt_manager_id;
	}
}
